package com.apexedu.eas.entity;

import javax.persistence.Basic;
import javax.persistence.Entity;
import javax.persistence.Id;

/**
 * 学期
 * Created with LongelliJ IDEA.
 * User: Administrator
 * Date: 13-11-13
 * Time: 下午4:45
 * To change this template use File | Settings | File Templates.
 */
@javax.persistence.Table(name = "T_XQ")
@Entity
public class TXq {
    private Long id;
    private Long xnd;   //学年度
    private String xqmc;   //学期名称
    private String xn;     //学年
    private Long hbXq;  //学期类型
    private Long xqsx;  //学期顺序
    private Long zdzs;  //最大周数
    private Long xqksrq;//学期开始日期
    private Long xqjsrq;//学期结束日期
    private Long kxrq;  //开学日期
    private Long bxrq;  //闭学日期
    private Long bdrq;  //报到日期
    private Long xq;    //上学期
    private Long zt;    //状态 1未开始，2当前学期，3已结束
    private Long sfrx;  //是否为入学日期
    private String bz;     //备注

    @javax.persistence.Column(name = "ID")
    @Id
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    @javax.persistence.Column(name = "XND")
    @Basic
    public Long getXnd() {
        return xnd;
    }

    public void setXnd(Long xnd) {
        this.xnd = xnd;
    }

    @javax.persistence.Column(name = "XQMC")
    @Basic
    public String getXqmc() {
        return xqmc;
    }

    public void setXqmc(String xqmc) {
        this.xqmc = xqmc;
    }

    @javax.persistence.Column(name = "XN")
    @Basic
    public String getXn() {
        return xn;
    }

    public void setXn(String xn) {
        this.xn = xn;
    }

    @javax.persistence.Column(name = "HB_XQ")
    @Basic
    public Long getHbXq() {
        return hbXq;
    }

    public void setHbXq(Long hbXq) {
        this.hbXq = hbXq;
    }

    @javax.persistence.Column(name = "XQSX")
    @Basic
    public Long getXqsx() {
        return xqsx;
    }

    public void setXqsx(Long xqsx) {
        this.xqsx = xqsx;
    }

    @javax.persistence.Column(name = "ZDZS")
    @Basic
    public Long getZdzs() {
        return zdzs;
    }

    public void setZdzs(Long zdzs) {
        this.zdzs = zdzs;
    }

    @javax.persistence.Column(name = "XQKSRQ")
    @Basic
    public Long getXqksrq() {
        return xqksrq;
    }

    public void setXqksrq(Long xqksrq) {
        this.xqksrq = xqksrq;
    }

    @javax.persistence.Column(name = "XQJSRQ")
    @Basic
    public Long getXqjsrq() {
        return xqjsrq;
    }

    public void setXqjsrq(Long xqjsrq) {
        this.xqjsrq = xqjsrq;
    }

    @javax.persistence.Column(name = "KXRQ")
    @Basic
    public Long getKxrq() {
        return kxrq;
    }

    public void setKxrq(Long kxrq) {
        this.kxrq = kxrq;
    }

    @javax.persistence.Column(name = "BXRQ")
    @Basic
    public Long getBxrq() {
        return bxrq;
    }

    public void setBxrq(Long bxrq) {
        this.bxrq = bxrq;
    }

    @javax.persistence.Column(name = "BDRQ")
    @Basic
    public Long getBdrq() {
        return bdrq;
    }

    public void setBdrq(Long bdrq) {
        this.bdrq = bdrq;
    }

    @javax.persistence.Column(name = "XQ")
    @Basic
    public Long getXq() {
        return xq;
    }

    public void setXq(Long xq) {
        this.xq = xq;
    }

    @javax.persistence.Column(name = "ZT")
    @Basic
    public Long getZt() {
        return zt;
    }

    public void setZt(Long zt) {
        this.zt = zt;
    }

    @javax.persistence.Column(name = "SFRX")
    @Basic
    public Long getSfrx() {
        return sfrx;
    }

    public void setSfrx(Long sfrx) {
        this.sfrx = sfrx;
    }

    @javax.persistence.Column(name = "BZ")
    @Basic
    public String getBz() {
        return bz;
    }

    public void setBz(String bz) {
        this.bz = bz;
    }
}
